package com.tanglongan.designPattern.dp02_abstractFactory.demo01;

/**
 * Java课程的具体工厂
 */
public class JavaCourseFactory extends CourseFactory {

    @Override
    protected IVideo createVideo() {
        return new JavaVideo();
    }

    @Override
    protected INote createNote() {
        return new JavaNote();
    }

}
